package com.zzyx.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Keshi entity. @author MyEclipse Persistence Tools
 */

public class Keshi implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int id;
	private Hospital hospital;
	private String name;
	private String duty;
	private String inteoduce;
	private int yyzjnum=0;
	private int yyorder=0;
	private Set zhuanjias = new HashSet(0);

	// Constructors

	/** default constructor */
	public Keshi() {
	}

	/** minimal constructor */
	public Keshi(String name, String duty) {
		this.name = name;
		this.duty = duty;
	}

	public int getYyzjnum() {
		return yyzjnum;
	}

	public void setYyzjnum(int yyzjnum) {
		this.yyzjnum = yyzjnum;
	}

	public int getYyorder() {
		return yyorder;
	}

	public void setYyorder(int yyorder) {
		this.yyorder = yyorder;
	}

	/** full constructor */
	public Keshi(Hospital hospital, String name, String duty, String inteoduce,
			Set zhuanjias) {
		this.hospital = hospital;
		this.name = name;
		this.duty = duty;
		this.inteoduce = inteoduce;
		this.zhuanjias = zhuanjias;
	}

	// Property accessors

	public int getId() {
		return this.id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Hospital getHospital() {
		return this.hospital;
	}

	public void setHospital(Hospital hospital) {
		this.hospital = hospital;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDuty() {
		return this.duty;
	}

	public void setDuty(String duty) {
		this.duty = duty;
	}

	public String getInteoduce() {
		return this.inteoduce;
	}

	public void setInteoduce(String inteoduce) {
		this.inteoduce = inteoduce;
	}

	public Set getZhuanjias() {
		return this.zhuanjias;
	}

	public void setZhuanjias(Set zhuanjias) {
		this.zhuanjias = zhuanjias;
	}

}